.facial-analyzer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.status-info {
    display: flex;
    gap: 20px;
    color: #555;
}

.control-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.start {
    background-color: #4CAF50;
    color: white;
}

.stop {
    background-color: #f44336;
    color: white;
}

.visual-container {
    display: flex;
    gap: 20px;
}

.video-wrapper {
    flex: 2;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.output-canvas {
    width: 100%;
    height: auto;
    background-color: #f0f0f0;
}

.analytics-panel {
    flex: 1;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.expression-stats {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.expression-stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.expression-name {
    width: 80px;
    text-transform: capitalize;
}

.progress-bar {
    flex: 1;
    height: 10px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    transition: width 0.3s ease;
}

.neutral {
    background-color: #9e9e9e;
}

.happy {
    background-color: #4caf50;
}

.sad {
    background-color: #2196f3;
}

.angry {
    background-color: #f44336;
}

.surprised {
    background-color: #ff9800;
}

.expression-count {
    width: 40px;
    text-align: right;
    color: #666;
}

.dominant-expression {
    margin-top: 20px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
}